<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>

    <head>
        <meta charset="utf-8" />
        <title>司机信息</title>
        <link rel="stylesheet" href="/Public/Leader/css/bootstrap.css">
        <style>
            .nav-container .item{
                display:none;
            }
            .nav-container .item.active,
            .nav-tabs .item.active{
                display:block;
            }
        </style>
    </head>
    <body>
    <ul class="nav nav-tabs">
        <li role="presentation" class="item active"><a href="#">基本注册信息</a></li>
        <li role="presentation" class="item"><a href="#">司机信息</a></li>
        <li role="presentation" class="item"><a href="#">汽车信息</a></li>
        <li role="presentation" class="item"><a href="#">司机财务信息</a></li>
    </ul>
    <div class="nav-container">
        <!--司机的基本信息-->


        <div class="item active">
            <table class="table table-hover">
                <tr>
                    <th>openid：</th>
                    <td><?php echo ($user['openid']); ?></td>
                </tr>
                <tr>
                    <th>昵称：</th>
                    <td><?php echo ($user['nickname']); ?></td>
                </tr>
                <tr>
                    <th>注册电话：</th>
                    <td><?php echo ($user['tel']); ?></td>
                </tr>
                <tr>
                    <th>头像：</th>
                    <td><?php echo ($user['headurl']); ?></td>
                </tr>
                <tr>
                    <th>服务分：</th>
                    <td><?php echo ($user['integral']); ?></td>
                </tr>
                <tr>
                    <th>账户余额：</th>
                    <td><?php echo ($user['yue']); ?></td>
                </tr>
                <tr>
                    <th>最后登录时间：</th>
                    <td><?php echo (date("Y-m-d",$user['last_login_time'])); ?></td>
                </tr>
            </table>
        </div>


        <div class="item">
            <table class="table table-hover">
                <tr>
                    <th>姓名：</th>
                    <td><?php echo ($siji['xingming']); ?></td>
                </tr>
                <tr>
                    <th>司机号码：</th>
                    <td><?php echo ($siji['dianhua']); ?></td>
                </tr>
                <tr>
                    <th>身份证号码：</th>
                    <td><?php echo ($siji['card_sf']); ?></td>
                </tr>
                <tr>
                    <th>初次领取驾照的时间：</th>
                    <td><?php echo (date("Y-m-d",$infos['getdriverlicensedatew'])); ?></td>
                </tr>
                <tr>
                    <th>城市：</th>
                    <td><?php echo ($siji['city']); ?></td>
                </tr>
                <tr>
                    <th>驾驶证：</th>
                    <td>
                        <img src="<?php echo ($siji['card_img']); ?>" width="300px" width="150px"/>
                        <img src="<?php echo ($siji['card_gh']); ?>" width="300px" width="150px"/>
                    </td>
                </tr>
                <tr>
                    <th>驾驶证：</th>
                    <td>
                        <img src="<?php echo ($siji['jiashi_img']); ?>" width="300px" width="150px"/>
                        <img src="<?php echo ($siji['jiashi_fm']); ?>" width="300px" width="150px"/>
                    </td>
                </tr>
                <tr>
                    <th>行驶证：</th>
                    <td>
                        <img src="<?php echo ($siji['xingshi_zm']); ?>" width="300px" width="150px"/>
                        <img src="<?php echo ($siji['xingshi_fm']); ?>" width="300px" width="150px"/>
                    </td>
                </tr>
                <tr>
                    <th>行驶证副本：</th>
                    <td>
                        <img src="<?php echo ($siji['xingshi_fb']); ?>" width="300px" width="150px"/>
                    </td>
                </tr>
                <tr>
                    <th>人车合影：</th>
                    <td>
                        <img src="<?php echo ($siji['mancar_img']); ?>" width="300px" width="150px"/>
                    </td>
                </tr>
                <tr>
                    <th>审核状态：</th>
                    <td>

                        <?php if($siji["status"] == 1): ?>【通过】
                            <?php elseif($siji["status"] == 2): ?>
                            【不通过】
                            <?php else: ?>
                            【待审核】<?php endif; ?>



                    </td>
                </tr>
            </table>
        </div>


        <div class="item">
            <!--司机车辆的基本信息-->
            <table class="table table-hover">
                <tr>
                    <th>车辆所在城市：</th>
                    <td><?php echo ($car['province']); ?>-<?php echo ($car['city']); ?></td>
                </tr>
                <tr>
                    <th>车牌号码：</th>
                    <td><?php echo ($car['vehicleno']); ?></td>
                </tr>
                <tr>
                    <th>车牌颜色：</th>
                    <td><?php echo ($car['vehiclecolor']); ?></td>
                </tr>
                <tr>
                    <th>车辆厂牌：</th>
                    <td><?php echo ($car['brand']); ?></td>
                </tr>
                <tr>
                    <th>车辆类型：</th>
                    <td><?php echo ($car['vehicletype']); ?></td>
                </tr>
                <tr>
                    <th>车辆型号：</th>
                    <td><?php echo ($car['vehicletype']); ?></td>
                </tr>
                <tr>
                    <th>所属车主：</th>
                    <td><?php echo ($car['ownername']); ?></td>
                </tr>
                <tr>
                    <th>车身颜色：</th>
                    <td><?php echo ($car['vehiclecolor']); ?></td>
                </tr>
                <!--<tr>-->
                    <!--<th>车辆照片（45度角彩色）：</th>-->
                    <!--<td>张三</td>-->
                <!--</tr>-->
                <tr>
                    <th>发动机号：</th>
                    <td><?php echo ($car['engineld']); ?></td>
                </tr>
                <tr>
                    <th>车辆VIN码：</th>
                    <td><?php echo ($car['vin']); ?></td>
                </tr>
                <tr>
                    <th>车辆燃料类型：</th>
                    <td><?php echo ($car['fueltype']); ?></td>
                </tr>
                <tr>
                    <th>核定载客位：</th>
                    <td><?php echo ($car['seats']); ?></td>
                </tr>
                <tr>
                    <th>车辆注册日期：</th>
                    <td><?php echo (date('Y-m-d',$car['certifydatea'])); ?></td>
                </tr>
                <tr>
                    <th>车辆年度审验状态：</th>
                    <td><?php echo ($car['checkstate']); ?></td>
                </tr>
                <tr>
                    <th>保险公司名称：</th>
                    <td><?php echo ($car['insurcom']); ?></td>
                </tr>
                <tr>
                    <th>保险号：</th>
                    <td><?php echo ($car['insurnum']); ?></td>
                </tr>
                <tr>
                    <th>保险类型：</th>
                    <td><?php echo ($car['insurtype']); ?></td>
                </tr>
                <tr>
                    <th>保险金额：</th>
                    <td><?php echo ($car['insurcount']); ?></td>
                </tr>
                <tr>
                    <th>保险生效时间：</th>
                    <td><?php echo (date('Y-m-d',$car['insureff'])); ?></td>
                </tr>
                <tr>
                    <th>保险到期时间：</th>
                    <td><?php echo (date('Y-m-d',$car['insurexp'])); ?></td>
                </tr>
                <tr>
                    <th>运价类型：</th>
                    <td><?php echo ($car['faretype']); ?></td>
                </tr>
                <tr>
                    <th>发动机排量：</th>
                    <td><?php echo ($car['enginedisplace']); ?></td>
                </tr>
                <tr>
                    <th>行驶总里程：</th>
                    <td><?php echo ($car['totalmile']); ?></td>
                </tr>
                <tr>
                    <th>车辆检修状态0:未检修1:已检修2:未知：</th>
                    <td><?php echo ($car['fixstate']); ?></td>
                </tr>
                <tr>
                    <th>车辆下次年检时间：</th>
                    <td><?php echo (date('Y-m-d',$car['nextfixdate'])); ?></td>
                </tr>
                <!--<tr>-->
                    <!--<th>网络预约出租汽车运输证号：</th>-->
                    <!--<td>张三</td>-->
                <!--</tr>-->
                <!--<tr>-->
                    <!--<th>网络预约出租汽车运输证发证机构：</th>-->
                    <!--<td>张三</td>-->
                <!--</tr>-->
                <!--<tr>-->
                    <!--<th>车辆经营区域：</th>-->
                    <!--<td>张三</td>-->
                <!--</tr>-->
                <!--<tr>-->
                    <!--<th>车辆运输证有效期起：</th>-->
                    <!--<td>张三</td>-->
                <!--</tr>-->
                <!--<tr>-->
                    <!--<th>车辆运输证有效期止：</th>-->
                    <!--<td>张三</td>-->
                <!--</tr>-->
                <!--<tr>-->
                    <!--<th>车辆初次登记日期：</th>-->
                    <!--<td>张三</td>-->
                <!--</tr>-->
                <!--<tr>-->
                    <!--<th>发票打印设备序列号：</th>-->
                    <!--<td>张三</td>-->
                <!--</tr>-->
                <!--<tr>-->
                    <!--<th>卫星定位装置品牌：</th>-->
                    <!--<td>张三</td>-->
                <!--</tr>-->
                <!--<tr>-->
                    <!--<th>卫星定位装置型号：</th>-->
                    <!--<td>张三</td>-->
                <!--</tr>-->
                <!--<tr>-->
                    <!--<th>卫星定位设备安装日期：</th>-->
                    <!--<td>张三</td>-->
                <!--</tr>-->
            </table>
        </div>

        <div class="item">
            <table class="table table-hover">
                
                <tr>
                    <th>收入</th>
                    <td><?php echo ($order_price); ?></td>
                </tr>

                <tr>
                    <th>账户余额</th>
                    <td><?php echo ($member['yue']); ?></td>
                </tr>
                <tr>
                    <th>可提现余额</th>
                    <td><?php echo ($total); ?></td>
                </tr>
                <tr>
                    <th>订单笔数(笔)</th>
                    <td><?php echo ($bwcount?$bwcount:0); ?></td>
                </tr>
                <tr>
                    <th>订单金额(元)</th>
                    <td><?php echo ($bwcount2?$bwcount2:0); ?></td>
                </tr>
                <tr>
                    <th>已完成笔数</th>
                    <td><?php echo ($bwcount3?$bwcount3:0); ?></td>
                </tr>
                <tr>
                    <th>已完成金额</th>
                    <td><?php echo ($bwcount4?$bwcount4:0); ?></td>
                </tr>
            </table>
        </div>
        

        
    </div>
    <script src="/Public/Leader/js/jquery.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
        $('.nav-tabs').on('click','.item',function(){
            var $this = $(this);
            var i = $this.index();
            if(!$this.hasClass('active')){
                $this.addClass('active').siblings().removeClass('active');
                $('.nav-container').children().eq(i).addClass('active').siblings().removeClass('active');
            }
        })
    </script>

    </body>
</html>